home *** CD-ROM | disk | FTP | other *** search
/ Teach Yourself VRML 2 in 21 Days / Teach Yourself VRML 2 in 21 Days.iso / pc / 3rdparty / ez3d / ez3d2.exe / data.z / SemiCircle.spline.eiv < prev    next >
Encoding:
Text File  |  1995-04-21  |  1.1 KB  |  58 lines

  1. #Inventor V2.0 ascii
  2.  
  3. RsnSplineSetKit {
  4.     fields [ SFNode ctrlCoordinate3,
  5.         SFNode coordinate3,
  6.         SFNode splineList, 
  7.            SFShort isJoinEnds, ]
  8.     isJoinEnds 0
  9.     ctrlCoordinate3        DEF +0 Coordinate3 {
  10.         point    [ 0 1 0,
  11.                           0.125 1 0,
  12.                   0.251044 0.961102 0,
  13.                   0.502087 0.857116 0,
  14.                   0.707107 0.707107 0,
  15.                   0.857116 0.502087 0,
  16.                   0.961102 0.251044 0,
  17.                   1 0 0,
  18.                   0.961102 -0.251044 0,
  19.                   0.857116 -0.502087 0,
  20.                   0.707107 -0.707107 0,
  21.                   0.502087 -0.857116 0,
  22.                   0.251044 -0.961102 0,
  23.                           0.125 -1 0,
  24.                   0 -1 0 ]
  25.     }
  26.  
  27.     coordinate3        DEF +1 Coordinate3 {
  28.     }
  29.  
  30.     splineList        NodeKitListPart {
  31.     childTypeNames    "RsnSplineKit"
  32.     containerNode        Group {
  33.         RsnSplineKit {
  34.         fields [ SoSFShort startCtrlPts, 
  35.              SoSFShort numCtrlPts,
  36.              SoSFShort startTessPts,
  37.              SoSFShort numTessSteps,
  38.              SoSFShort isStartNew,
  39.                SFNode ctrlCoordinate3,
  40.              SFNode coordinate3,
  41.              ]
  42.         startCtrlPts 0
  43.         numCtrlPts   15
  44.         startTessPts 0
  45.         numTessSteps 1
  46.                 isStartNew   0
  47.         ctrlCoordinate3            USE +0
  48.  
  49.         coordinate3            USE +1
  50.  
  51.         }
  52.     }
  53.  
  54.     }
  55.  
  56. }
  57.  
  58.